﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F8F RID: 3983
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicUnitSelectCallback : IMessage<RogueMagicUnitSelectCallback>, IMessage, IEquatable<RogueMagicUnitSelectCallback>, IDeepCloneable<RogueMagicUnitSelectCallback>, IBufferMessage
	{
		// Token: 0x17003276 RID: 12918
		// (get) Token: 0x0600B264 RID: 45668 RVA: 0x001E1C2F File Offset: 0x001DFE2F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicUnitSelectCallback> Parser
		{
			get
			{
				return RogueMagicUnitSelectCallback._parser;
			}
		}

		// Token: 0x17003277 RID: 12919
		// (get) Token: 0x0600B265 RID: 45669 RVA: 0x001E1C36 File Offset: 0x001DFE36
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicUnitSelectCallbackReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003278 RID: 12920
		// (get) Token: 0x0600B266 RID: 45670 RVA: 0x001E1C48 File Offset: 0x001DFE48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicUnitSelectCallback.Descriptor;
			}
		}

		// Token: 0x0600B267 RID: 45671 RVA: 0x001E1C4F File Offset: 0x001DFE4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicUnitSelectCallback()
		{
		}

		// Token: 0x0600B268 RID: 45672 RVA: 0x001E1C57 File Offset: 0x001DFE57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicUnitSelectCallback(RogueMagicUnitSelectCallback other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B269 RID: 45673 RVA: 0x001E1C70 File Offset: 0x001DFE70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicUnitSelectCallback Clone()
		{
			return new RogueMagicUnitSelectCallback(this);
		}

		// Token: 0x0600B26A RID: 45674 RVA: 0x001E1C78 File Offset: 0x001DFE78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicUnitSelectCallback);
		}

		// Token: 0x0600B26B RID: 45675 RVA: 0x001E1C86 File Offset: 0x001DFE86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicUnitSelectCallback other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600B26C RID: 45676 RVA: 0x001E1CA4 File Offset: 0x001DFEA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B26D RID: 45677 RVA: 0x001E1CCA File Offset: 0x001DFECA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B26E RID: 45678 RVA: 0x001E1CD2 File Offset: 0x001DFED2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B26F RID: 45679 RVA: 0x001E1CDB File Offset: 0x001DFEDB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B270 RID: 45680 RVA: 0x001E1CF4 File Offset: 0x001DFEF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B271 RID: 45681 RVA: 0x001E1D1A File Offset: 0x001DFF1A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicUnitSelectCallback other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B272 RID: 45682 RVA: 0x001E1D37 File Offset: 0x001DFF37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B273 RID: 45683 RVA: 0x001E1D40 File Offset: 0x001DFF40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004821 RID: 18465
		private static readonly MessageParser<RogueMagicUnitSelectCallback> _parser = new MessageParser<RogueMagicUnitSelectCallback>(() => new RogueMagicUnitSelectCallback());

		// Token: 0x04004822 RID: 18466
		private UnknownFieldSet _unknownFields;
	}
}
